package org.glut.AppStoreProject.mapper;

import org.apache.ibatis.annotations.Param;
import org.glut.AppStoreProject.entity.App;
import org.glut.AppStoreProject.entity.AppEntity11;

import java.util.List;

/**
 * @author: gluglu2
 * @date: 2025/7/14 11:35
 */
public interface AppMapper {
    App getApp(App app);

    List<App> getApps(App app);

    List<App> getTop5(@Param("type") Integer type);

    List<App> getRank10();

    List<App> selectAllApps();

    //通过应用类别查询
    List<AppEntity11> getAppsByAppType(int appType);
}
